﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CMPPProtocol;
using System.Threading;
using CMPPProtocol.Message;

namespace CMPPCore
{
    internal class DATA_PACKAGE
    {
        /// <summary>
        /// 消息数据
        /// </summary>
        public ICMPP_MESSAGE Data { get; set; }

        /// <summary>
        /// 回调状态
        /// </summary>
        public object AsyncState { get; set; }

        /// <summary>
        /// 回调函数
        /// </summary>
        public Action<object> AsyncAction { get; set; }

        /// <summary>
        /// 是否同步执行
        /// </summary>
        public bool IsSynchronously { get; set; }
    }
}
